<table class="custom-table table table-striped table-hover table-bordered" cellpadding="0" cellspacing="0">
	<thead>
	<tr>
		<th class="th05">序号</th>
		<th class="th03">所属城市</th>
		<th class="th01">商户类型</th>
		<th class="th02">商户名称</th>
<!-- 		<th class="th03">商户logo</th> -->
		<th class="th03">商户二维码</th>
 		<th class="th04">商户ID</th>
		<th class="th05">卫生等级</th>
		<th class="th02">是否显示</th>
		<th class="th01">操 作</th>
	</tr>
	</thead>
	<tbody>
	<?php foreach ($this->paginator as $v) : ?>
		<tr>
			<td><?php echo $this->escapeHtml($v->org_id);?></td>
			<td><?php echo $this->escapeHtml($v->city_name);?></td>
			<td><?php echo $this->escapeHtml($v->catalog_name);?></td>
			<td style="text-align:left"><?php if($v->org_is_direct_sale == 2):?> <span class="label label-success">直营</span><?php endif;?> <?php echo $this->escapeHtml($v->org_name);?></td>
			<!--<td style="text-align:left"><img src="<?php echo $this->escapeHtml($v->org_logo);?>" width="30" height="30" class="img-rounded">  <?php echo $this->escapeHtml($v->org_name);?></td>
			<td><img src="<?php echo $this->escapeHtml($v->org_logo);?>" width="30" height="30"></td>-->
			<td><a href="/crm/org/ajax-qrcode?org_id=<?php echo $this->escapeHtml($v->org_id);?>" target="_blank">查看二维码</a></td>
			<td><?php echo $this->escapeHtml($v->org_code);?></td>
			<td><?php echo $this->escapeHtml($this->CommonHelper()->orgHealthLevel($v->org_level));?></td>
			<td><?php if($v->org_is_display == 1):?>显示<?php else:?>不显示<?php endif;?></td>
			<td>
				<a href="/crm/org/edit?org_id=<?php echo $this->escapeHtml($v->org_id);?>">修改</a>/
				<a href="/crm/org/details?org_id=<?php echo $this->escapeHtml($v->org_id);?>">详情</a>/
				<a href="/crm/org/sell-goods?org_id=<?php echo $this->escapeHtml($v->org_id);?>">管理销售商品</a>/
				<a href="/crm/org/add-address?org_id=<?php echo $this->escapeHtml($v->org_id);?>">新增地址</a>/
				<a  class="addr-show" data-org-id="<?php echo $this->escapeHtml($v->org_id);?>">查看地址</a>
				<!-- ／
				<a href="/crm/org/remove?org_id=<?php echo $this->escapeHtml($v->org_id);?>"  onclick="return confirm('您确定删除?')">删除</a>
			     -->
			</td>
		</tr>
 		<!--<tr> <td colspan="11" class="dataTables_empty" valign="top">没有相关记录</td> </tr> background:#ccc;-->
		<tr id="comm_show_<?php echo $this->escapeHtml($v->org_id);?>" style="display:none;" ></tr>
	<?php endforeach; ?>
	</tbody>
</table>
<?php
     echo $this->paginationControl(
         $this->paginator,
         'sliding',
         'partial/ajax-paginator.phtml',
         array(
         )
     );
 ?>